home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Games / WHDLoad / Src / imager-examples / worldsoflegend.islave.asm < prev   
Encoding:
Assembly Source File  |  2000-05-16  |  2.3 KB  |  88 lines

  1. ;*---------------------------------------------------------------------------
  2. ;  :Program.    worldsoflegend.islave.asm
  3. ;  :Contents.    Imager for SaveDisk - Worlds of Legend
  4. ;  :Author.    Wepl
  5. ;  :Version.    $Id: worldsoflegend.islave.asm 1.1 2000/03/01 00:10:12 jah Exp $
  6. ;  :History.    01.03.00 converted from whdload slave
  7. ;  :Requires.    -
  8. ;  :Copyright.    Public Domain
  9. ;  :Language.    68000 Assembler
  10. ;  :Translator.    Barfly V2.9
  11. ;  :To Do.
  12. ;---------------------------------------------------------------------------*
  13. ;
  14. ;    Disk format:
  15. ;    Disk 1:        0-1    standard
  16. ;            2-157    $1800 bytes sync=4489
  17. ;
  18. ;---------------------------------------------------------------------------*
  19.  
  20.     INCDIR    Includes:
  21.     INCLUDE    RawDic.i
  22.  
  23.     IFD BARFLY
  24.     OUTPUT    "Develop:Installs/worldsoflegend Install/SaveDisk.ISlave"
  25.     BOPT    O+                ;enable optimizing
  26.     BOPT    OG+                ;enable optimizing
  27.     BOPT    ODd-                ;disable mul optimizing
  28.     BOPT    ODe-                ;disable mul optimizing
  29.     ENDC
  30.  
  31. ;======================================================================
  32.  
  33.     SECTION a,CODE
  34.  
  35.         SLAVE_HEADER
  36.         dc.b    1        ; Slave version
  37.         dc.b    0        ; Slave flags
  38.         dc.l    _disk1        ; Pointer to the first disk structure
  39.         dc.l    _text        ; Pointer to the text displayed in the imager window
  40.  
  41.         dc.b    "$VER: "
  42. _text        dc.b    "Worlds of Legend - SaveDisk - Imager",10
  43.         dc.b    "Done by Wepl, Version 1.0 "
  44.     DOSCMD    "WDate >T:date"
  45.     INCBIN    "T:date"
  46.         dc.b    ".",0
  47.     EVEN
  48.  
  49. _f0        dc.b    "EMPIRE0",0
  50. _f1        dc.b    "EMPIRE1",0
  51. _f2        dc.b    "EMPIRE2",0
  52. _f3        dc.b    "EMPIRE3",0
  53. _f4        dc.b    "EMPIRE4",0
  54. _f5        dc.b    "EMPIRE5",0
  55. _f6        dc.b    "EMPIRE6",0
  56. _f7        dc.b    "EMPIRE7",0
  57. _f8        dc.b    "EMPIRE8",0
  58. _f9        dc.b    "EMPIRE9",0
  59.  
  60. _disk1        dc.l    0        ; Pointer to next disk structure
  61.         dc.w    1        ; Disk structure version
  62.         dc.w    0        ; Disk flags
  63.         dc.l    _tl1        ; List of tracks which contain data
  64.         dc.l    0        ; UNUSED, ALWAYS SET TO 0!
  65.         dc.l    _fl1        ; List of files to be saved
  66.         dc.l    0        ; Table of certain tracks with CRC values
  67.         dc.l    0        ; Alternative disk structure, if CRC failed
  68.         dc.l    0        ; Called before a disk is read
  69.         dc.l    0        ; Called after a disk has been read
  70.  
  71. _tl1        TLENTRY    0,146,$1600,SYNC_STD,DMFM_STD
  72.         TLEND
  73.  
  74. _fl1        FLENTRY    _f0,512*$384,$6e00
  75.         FLENTRY    _f1,512*$3CA,$6e00
  76.         FLENTRY    _f2,512*$410,$6e00
  77.         FLENTRY    _f3,512*$456,$6e00
  78.         FLENTRY    _f4,512*$49C,$6e00
  79.         FLENTRY    _f5,512*$4E2,$6e00
  80.         FLENTRY    _f6,512*$528,$6e00
  81.         FLENTRY    _f7,512*$56E,$6e00
  82.         FLENTRY    _f8,512*$5B4,$6e00
  83.         FLENTRY    _f9,512*$5FA,$6e00
  84.         FLEND
  85.  
  86.     END
  87.  
  88.